package com.vehicle.service.imp;

import com.vehicle.mapper.LicenseMapper;
import com.vehicle.pojo.License;
import com.vehicle.service.LicenseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LicenseServiceImpl implements LicenseService {
    @Autowired
    private LicenseMapper licenseMapper;
    @Override
    public List<License> findAllLicense() {
        return licenseMapper.selectAllLicense();
    }
}
